package com.sy.mapper;

import com.sy.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * Created by 时宇 on 2021-08-01 19:32
 */
@Repository
@Mapper
public interface UserMapper {
    //根据用户名查询用户
    User findByUsername(String username);
}
